/**
 * 纸张大小
 * @type {{B3: {width: number, height: number}, A3: {width: number, height: number}, B4: {width: number, height: number}, A4: {width: number, height: number}, B5: {width: number, height: number}, A5: {width: number, height: number}}}
 */
export let PageSize = {
    'A3': {
        width: 420,
        height: 296.6
    },
    'A4': {
        width: 210,
        height: 296.6
    },
    'A5': {
        width: 210,
        height: 147.6
    },
    'B3': {
        width: 500,
        height: 352.6
    },
    'B4': {
        width: 250,
        height: 352.6
    },
    'B5': {
        width: 250,
        height: 175.6
    }
}

//默认纸张大小
export const defaultPaper = {
    type: 'other',
    width: 210,
    height: 296.6
};

//纸张宽度和高度
export const { width: paperWidthSize, height: paperHeightSize } = defaultPaper;

// 缩放相关设置
const SCALE_MAX = 5;
const SCALE_MIN = 0.5;
export let { scaleValueResSize, scaleMaxSize, scaleMinSize } = { scaleValueResSize: 1, scaleMaxSize: SCALE_MAX, scaleMinSize: SCALE_MIN };

